﻿@namespace AntDesign.Pro.Template.Pages.Exception
@page "/exception/403"
@inject NavigationManager NavigationManager
@layout CavEmptyLayout

<Result Status="403"
        Title="403"
        SubTitle="抱歉，您的访问权限不足。">
    <Extra>
        <Button Type="primary" OnClick="BackHome">回到首页</Button>
    </Extra>
</Result>

@{
    void BackHome()
    {
        NavigationManager.NavigateTo("/");
    }

}